<?php
//e107BB 2.0 config.php file
//http://www.diporg.com
//License: GNU GPL
//This file connects to the e107 an phpbb database

//include e107config file to detect e107db settings
include "../../../e107_config.php";

//e107 database info, you don't need to change
//because this can connect using e107_config.php
$e1sqlserver=$mySQLserver;
$e1sqluserna=$mySQLuser;
$e1sqlpasswo=$mySQLpassword;
$e1sqldaname=$mySQLdefaultdb;
$e1sqlprefix=$mySQLprefix;
$e1sqlconnec = mysql_connect("$e1sqlserver", "$e1sqluserna", "$e1sqlpasswo") or die("Could not connect to e107  database.");

mysql_select_db( $e1sqldaname , $e1sqlconnec ) or die("Could not connect to the e107 database");
print "e107 database, connected!<br/>";
?>